home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / var / lib / dpkg / info / samba-common.postrm < prev    next >
Text File  |  2008-10-10  |  481b  |  20 lines

  1. #!/bin/sh -e
  2.  
  3. if [ "$1" = purge ]; then
  4.     rm -rf /etc/samba/ /var/cache/samba/ /var/lib/samba/ /var/run/samba/
  5.     if [ -x "`which ucf 2>/dev/null`" ]; then
  6.         ucf --purge /etc/samba/smb.conf
  7.     fi
  8.     if [ -x "`which ucfr 2>/dev/null`" ]; then
  9.         ucfr --purge samba-common /etc/samba/smb.conf
  10.     fi
  11. fi
  12.  
  13. # Automatically added by dh_installdebconf
  14. if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
  15.     . /usr/share/debconf/confmodule
  16.     db_purge
  17. fi
  18. # End automatically added section
  19.  
  20.